@forward "element-plus/theme-chalk/src/common/var.scss" with ($colors: ("primary": ("base": #314150,
        ),
    ));
@use "element-plus/theme-chalk/src/index.scss" as *;

.moduleBox {

    .statisticsBox {
        position: absolute;
        width: 3.1rem;
        height: 5.1rem;
        overflow: hidden;
        left: 0.1rem;
        top: 0.1rem;
        z-index: 99;
        background: rgba(46, 60, 74, 0.9);
        border-radius: 0.06rem;
        border: 0.01rem solid #4e6172;
        color: #ffffff;
        font-size: 0.12rem;
        box-shadow: 0px 0px 0.04rem 0px rgba(255, 255, 255, 0.25);

        .title {
            height: 0.46rem;
            line-height: 0.46rem;
            padding: 0 0.16rem;
            font-size: 0.14rem;
        }

        .listBoxs {
            .topmsgbox {
                .time {
                    padding: 0 0.16rem;
                    background: #1d2b38;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    height: 0.46rem;
                }

                .staTip {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    line-height: 0.46rem;
                    padding: 0 0.16rem;
                    height: 0.46rem;
                }
            }

            .tablesBox {
                width: 100%;
                height: 3.22rem;
                overflow: hidden;

                .tablesscrollbar {
                    height: 3.22rem;
                }

                .tables {
                    width: 100%;
                    text-align: center;

                    tr {
                        &:nth-child(odd) {
                            background: #1d2b38;

                        }

                        cursor: pointer;

                        &:hover {
                            box-shadow: 0px 0px 0.04rem 0px rgba(255, 255, 255, 0.5);
                        }

                        td {
                            height: 0.46rem;

                            &:last-child {
                                padding-right: 0.16rem;
                            }

                            &:first-child {
                                padding-left: 0.16rem;
                                text-align: left;
                            }

                            .hollow {
                                width: 0.1rem;
                                height: 0.1rem;
                                border: 0.01rem solid #ffffff;
                                border-radius: 100%;
                            }

                            .solid {
                                background: #ffffff;
                            }
                        }
                    }

                    .tableItem.serlectTableTr {
                        td {
                            border-top: 0.01rem solid #ffffff;
                            border-bottom: 0.01rem solid #ffffff;
                        }
                    }
                }
            }

            .btnBox {
                padding: 0 0.16rem;
                display: flex;
                justify-content: space-between;
                align-items: center;
                height: 0.46rem;

                .btn {
                    width: 0.66rem;
                    height: 0.26rem;
                    background: #6e767d;
                    border-radius: 0.04rem;
                    text-align: center;
                    line-height: 0.26rem;
                    font-size: 0.12rem;
                    cursor: pointer;
                }

                .rightBtn {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;

                    .btn {
                        width: 0.56rem;
                        margin-left: 0.1rem;
                    }
                }
            }
        }

        .msgBox {
            .btnBox {
                padding: 0 0.16rem;
                display: flex;
                justify-content: space-between;
                align-items: center;
                height: 0.46rem;

                .btn {
                    width: 0.66rem;
                    height: 0.26rem;
                    background: #6e767d;
                    border-radius: 0.04rem;
                    text-align: center;
                    line-height: 0.26rem;
                    font-size: 0.12rem;
                    cursor: pointer;
                }

                .rightBtn {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;

                    .btn {
                        width: 0.56rem;
                        margin-left: 0.1rem;
                    }
                }
            }

            .msgtablesBox {
                height: 4.15rem;
                overflow: hidden;

                .msgtables {
                    width: 100%;

                    tr {

                        &:nth-child(odd) {
                            background: #1D2B38;
                        }

                        td {
                            height: 0.46rem;

                            &:first-child {
                                padding-left: 0.16rem;
                            }

                            &:last-child {
                                padding-right: 0.16rem;
                            }

                            .interval {
                                margin: 0 0.05rem;
                            }

                            .inputNumber {
                                display: flex;
                                justify-content: flex-start;
                                align-items: center;
                                color: #ffffff;
                                border: 1px solid #ffffff;
                                border-radius: 0.05rem;
                                width: 2rem;
                                height: 0.32rem;

                                .unit {
                                    width: 0.48rem;
                                    height: 0.3rem;
                                    line-height: 0.3rem;
                                    text-align: center;
                                    position: relative;

                                    &::before {
                                        content: "";
                                        position: absolute;
                                        width: 0.01rem;
                                        height: 0.16rem;
                                        background-color: #ffffff;
                                        top: 50%;
                                        margin-top: -0.08rem;
                                        left: 0;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    .chartBox {
        position: absolute;
        width: 3.1rem;
        // height: 2.4rem;
        overflow: hidden;
        left: 0.1rem;
        bottom: 0.1rem;
        z-index: 99;
        background: rgba(46, 60, 74, 0.9);
        border-radius: 0.06rem;
        border: 0.01rem solid #4e6172;
        color: #ffffff;
        font-size: 0.12rem;
        box-shadow: 0px 0px 0.04rem 0px rgba(255, 255, 255, 0.25);

        .title {
            height: 0.46rem;
            line-height: 0.46rem;
            padding: 0 0.16rem;
            font-size: 0.14rem;
        }

        .chartBoxCont {
            background: #1D2B38;
            box-shadow: 0px 0px 0.02rem 0px rgba(255, 255, 255, 0.5);

            .time {
                padding: 0 0.16rem;
                display: flex;
                justify-content: space-between;
                align-items: center;
                line-height: 0.46rem;
                height: 0.46rem;
            }
        }
    }
}

.switchinggroup {
    position: absolute;
    z-index: 99;
    right: 0.1rem;
    bottom: 0.1rem;
    background: rgba(46, 60, 74, 0.9);
    box-shadow: 0px 0px 0.04rem 0px rgba(255, 255, 255, 0.25);
    border-radius: 0.06rem;
    border: 0.01rem solid #4E6172;
    font-size: 0.12rem;
    color: #ffffff;
    width: 12.42rem;
    height: 1.82rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.2rem;

    .switchinggroupItem {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        height: 1.4rem;
        width: 2.2rem;
        background: rgba(47, 60, 73, 0.8);
        position: relative;
        border-radius: 0.06rem;
        overflow: hidden;
        box-shadow: 0px 0px 0.05rem 0px rgba(0, 0, 0, 0.4);

        &::before {
            width: 100%;
            height: 0.7rem;
            background: linear-gradient(180deg, #324251 0%, #39546C 100%);
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            z-index: 0;
            filter: blur(0.04rem);
        }

        .itemList {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            padding: 0 0.2rem;

            .name,
            span {
                position: relative;
                z-index: 5;
            }
        }
    }
}

.operationBox {
    position: absolute;
    z-index: 99;
    right: 0.1rem;
    height: 5.1rem;
    top: 0.1rem;
    background: rgba(46, 60, 74, 0.9);
    box-shadow: 0px 0px 0.04rem 0px rgba(255, 255, 255, 0.25);
    border-radius: 0.06rem;
    border: 0.01rem solid #4E6172;
    font-size: 0.12rem;
    color: #ffffff;
    width: 3.04rem;
    overflow: hidden;

    .statisticsBox1 {
        width: 3.04rem;
        top: 0;

        .title {
            height: 0.46rem;
            line-height: 0.46rem;
            padding: 0 0.16rem;
            font-size: 0.14rem;
        }

        .itemBox {

            .iteml {
                width: 100%;
                height: 0.46rem;
                line-height: 0.46rem;
                padding: 0 0.16rem;
                font-size: 0.12rem;
                display: flex;
                justify-content: flex-start;
                align-items: center;

                &:nth-child(odd) {
                    background: #1D2B38;
                }
            }
        }
    }
}